<script setup lang="ts">
import Header from "@/components/Header/Header.vue";
import Footer from "@/components/Footer/Footer.vue";
import { useRoute } from "vue-router";
import { ref } from "vue";
const router = useRoute();
const footerShow = ref(router.meta.foooterShow);
</script>

<template>
  <Header />
  <router-view></router-view>
  <Footer v-if="footerShow ? footerShow : true "></Footer>
</template>

<style scoped lang="less"></style>
